<?php

/* add.html */
class __TwigTemplate_e045a915d4a7f2ccd84b7803e526ac581d0b83021d318ae5fada7e058e753b47 extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        // line 2
        $this->parent = $this->loadTemplate("layout.html", "add.html", 2);
        $this->blocks = array(
            'head' => array($this, 'block_head'),
            'title' => array($this, 'block_title'),
            'content' => array($this, 'block_content'),
        );
    }

    protected function doGetParent(array $context)
    {
        return "layout.html";
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }

    // line 4
    public function block_head($context, array $blocks = array())
    {
        // line 5
        $this->displayBlock('title', $context, $blocks);
    }

    public function block_title($context, array $blocks = array())
    {
        echo "<title>添加</title>";
    }

    // line 7
    public function block_content($context, array $blocks = array())
    {
        // line 8
        echo "<h1>添加</h1>
<form action=\"/message/do_add\" method=\"post\">
    <input type=\"text\" name=\"title\" placeholder=\"请输入帖子标题\"><br>
    <textarea name=\"content\"></textarea>
    <input type=\"submit\" value=\"提交\">
</form>
";
    }

    public function getTemplateName()
    {
        return "add.html";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  45 => 8,  42 => 7,  33 => 5,  30 => 4,  11 => 2,);
    }

    /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
    public function getSource()
    {
        @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);

        return $this->getSourceContext()->getCode();
    }

    public function getSourceContext()
    {
        return new Twig_Source("
{% extends \"layout.html\" %}

{% block head %}
{% block title %}<title>添加</title>{% endblock %}
{% endblock %}
{% block content %}
<h1>添加</h1>
<form action=\"/message/do_add\" method=\"post\">
    <input type=\"text\" name=\"title\" placeholder=\"请输入帖子标题\"><br>
    <textarea name=\"content\"></textarea>
    <input type=\"submit\" value=\"提交\">
</form>
{% endblock %}
", "add.html", "D:\\phpStudy\\WWW\\learn\\my_frame\\app\\views\\add.html");
    }
}
